package com.spring.boot;

import java.util.List;
import java.util.Set;

/**
 * @author liyuncong
 * @version 1.0
 * @file DefaultApplicationArguments
 * @brief DefaultApplicationArguments
 * @details DefaultApplicationArguments
 * @date 2023-01-12
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2023-01-12                  liyuncong          Created
 */
public class DefaultApplicationArguments implements ApplicationArguments {

    private final Source source;

    private final String[] args;

    public DefaultApplicationArguments(String[] args) {
        this.source = new Source(args);
        this.args = args;
    }

    @Override

    public String[] getSourceArgs() {
        return this.args;
    }

    @Override
    public Set<String> getOptionName() {
        return null;
    }

    @Override
    public boolean containsOption(String name) {
        return false;
    }

    @Override
    public List<String> getOptionValues(String name) {
        return null;
    }

    @Override
    public List<String> getNonOptionArgs() {
        return null;
    }

    //TODO
    private static class Source {

        public Source(String[] args) {
        }
    }
}
